package org.rugby.online.persistency;

import java.io.Serializable;

import org.rugby.online.impl.DefaultGamer;

/**
 * Enumeration containing the full list of persistent objects
 * @author marseille
 *
 */
public enum DefaultPersistencyMapper {
	DEFAULT_GAMER(DefaultGamer.class, "gamers");
	
	private Class<? extends Serializable> clazz;
	private String path;
	
	private DefaultPersistencyMapper(Class<? extends Serializable> c, String p) {
		this.clazz = c;
		this.path = p;
	}
	
	public Class<? extends Serializable> getMappedClass() {
		return clazz;
	}
	
	public String getPath() {
		return path;
	}
	
}
